package vodka.interpreter;


/**
 *	Utility methods to box and unbox primitive Java values (only for 
 *	Java 1.4 compatibility)
 */

public class NativeBoxPrimitive
{
	public static Boolean valueOf(boolean x)
	{
		return new Boolean(x);
	}

	public static Character valueOf(char x)
	{
		return new Character(x);
	}

	public static Byte valueOf(byte x)
	{
		return new Byte(x);
	}

	public static Short valueOf(short x)
	{
		return new Short(x);
	}

	public static Integer valueOf(int x)
	{
		return new Integer(x);
	}

	public static Long valueOf(long x)
	{
		return new Long(x);
	}

	public static Float valueOf(float x)
	{
		return new Float(x);
	}

	public static Double valueOf(double x)
	{
		return new Double(x);
	}

}